package org.darkforest.model;

import java.math.BigDecimal;

public class Goods {
    private Integer goodsId;

    private Integer goodsCommonid;

    private String goodsName;

    private String goodsJingle;

    private Integer storeId;

    private String storeName;

    private Integer gcId;

    private Integer gcId1;

    private Integer gcId2;

    private Integer gcId3;



    private Integer brandId;

    private BigDecimal goodsPrice;

    private BigDecimal goodsPromotionPrice;

    private Byte goodsPromotionType;

    private BigDecimal goodsMarketprice;

    private String goodsSerial;

    private Integer goodsStorageAlarm;

    private Integer goodsClick;

    private Integer goodsSalenum;

    private Integer goodsCollect;

    private Integer goodsStorage;

    private String goodsImage;

    private Byte goodsState;

    private Byte goodsVerify;

    private Integer goodsAddtime;

    private Integer goodsEdittime;

    private Integer areaid1;

    private Integer areaid2;

    private Integer colorId;

    private Integer transportId;

    private BigDecimal goodsFreight;

    private Byte goodsVat;

    private Byte goodsCommend;

    private String goodsStcids;

    private Integer evaluationGoodStar;

    private Integer evaluationCount;

    private String goodsSpec;
    private String orderBy;         //查询统计字段 -- 排序

    private Integer limit;          //查询统计字段 -- 查询列表最大量

    private Integer goodsType; //0 普通商品 1活动商品

    private BigDecimal startPrice;
    private BigDecimal endPrice;
    private Integer recommondType;


    private Integer commissionType; //分佣类型
    private Integer commissionRate; //分佣比例


    private BigDecimal costPrice;

    public Goods(){}

    public Integer getCommissionType() {
        return commissionType;
    }

    public void setCommissionType(Integer commissionType) {
        this.commissionType = commissionType;
    }

    public Integer getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(Integer commissionRate) {
        this.commissionRate = commissionRate;
    }

    public Goods(Integer goodsId,Integer goodsNum){
        this.setGoodsId(goodsId);
        this.setGoodsStorage(goodsNum);
    }


    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getGcId3() {
        return gcId3;
    }

    public void setGcId3(Integer gcId3) {
        this.gcId3 = gcId3;
    }

    public BigDecimal getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(BigDecimal startPrice) {
        this.startPrice = startPrice;
    }

    public BigDecimal getEndPrice() {
        return endPrice;
    }

    public void setEndPrice(BigDecimal endPrice) {
        this.endPrice = endPrice;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    //    public static final Goods EMPTY_GOODS = new Goods();

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsCommonid() {
        return goodsCommonid;
    }

    public void setGoodsCommonid(Integer goodsCommonid) {
        this.goodsCommonid = goodsCommonid;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getGoodsJingle() {
        return goodsJingle;
    }

    public void setGoodsJingle(String goodsJingle) {
        this.goodsJingle = goodsJingle == null ? null : goodsJingle.trim();
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName == null ? null : storeName.trim();
    }

    public Integer getGcId() {
        return gcId;
    }

    public void setGcId(Integer gcId) {
        this.gcId = gcId;
    }

    public Integer getGcId1() {
        return gcId1;
    }

    public void setGcId1(Integer gcId1) {
        this.gcId1 = gcId1;
    }

    public Integer getGcId2() {
        return gcId2;
    }

    public void setGcId2(Integer gcId2) {
        this.gcId2 = gcId2;
    }



    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPromotionPrice() {
        return goodsPromotionPrice;
    }

    public void setGoodsPromotionPrice(BigDecimal goodsPromotionPrice) {
        this.goodsPromotionPrice = goodsPromotionPrice;
    }

    public Byte getGoodsPromotionType() {
        return goodsPromotionType;
    }

    public void setGoodsPromotionType(Byte goodsPromotionType) {
        this.goodsPromotionType = goodsPromotionType;
    }

    public BigDecimal getGoodsMarketprice() {
        return goodsMarketprice;
    }

    public void setGoodsMarketprice(BigDecimal goodsMarketprice) {
        this.goodsMarketprice = goodsMarketprice;
    }

    public String getGoodsSerial() {
        return goodsSerial;
    }

    public void setGoodsSerial(String goodsSerial) {
        this.goodsSerial = goodsSerial == null ? null : goodsSerial.trim();
    }

    public Integer getGoodsStorageAlarm() {
        return goodsStorageAlarm;
    }

    public void setGoodsStorageAlarm(Integer goodsStorageAlarm) {
        this.goodsStorageAlarm = goodsStorageAlarm;
    }

    public Integer getGoodsClick() {
        return goodsClick;
    }

    public void setGoodsClick(Integer goodsClick) {
        this.goodsClick = goodsClick;
    }

    public Integer getGoodsSalenum() {
        return goodsSalenum;
    }

    public void setGoodsSalenum(Integer goodsSalenum) {
        this.goodsSalenum = goodsSalenum;
    }

    public Integer getGoodsCollect() {
        return goodsCollect;
    }

    public void setGoodsCollect(Integer goodsCollect) {
        this.goodsCollect = goodsCollect;
    }

    public Integer getGoodsStorage() {
        return goodsStorage;
    }

    public void setGoodsStorage(Integer goodsStorage) {
        this.goodsStorage = goodsStorage;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage == null ? null : goodsImage.trim();
    }

    public Byte getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(Byte goodsState) {
        this.goodsState = goodsState;
    }

    public Byte getGoodsVerify() {
        return goodsVerify;
    }

    public void setGoodsVerify(Byte goodsVerify) {
        this.goodsVerify = goodsVerify;
    }

    public Integer getGoodsAddtime() {
        return goodsAddtime;
    }

    public void setGoodsAddtime(Integer goodsAddtime) {
        this.goodsAddtime = goodsAddtime;
    }

    public Integer getGoodsEdittime() {
        return goodsEdittime;
    }

    public void setGoodsEdittime(Integer goodsEdittime) {
        this.goodsEdittime = goodsEdittime;
    }

    public Integer getAreaid1() {
        return areaid1;
    }

    public void setAreaid1(Integer areaid1) {
        this.areaid1 = areaid1;
    }

    public Integer getAreaid2() {
        return areaid2;
    }

    public void setAreaid2(Integer areaid2) {
        this.areaid2 = areaid2;
    }

    public Integer getColorId() {
        return colorId;
    }

    public void setColorId(Integer colorId) {
        this.colorId = colorId;
    }

    public Integer getTransportId() {
        return transportId;
    }

    public void setTransportId(Integer transportId) {
        this.transportId = transportId;
    }

    public BigDecimal getGoodsFreight() {
        return goodsFreight;
    }

    public void setGoodsFreight(BigDecimal goodsFreight) {
        this.goodsFreight = goodsFreight;
    }

    public Byte getGoodsVat() {
        return goodsVat;
    }

    public void setGoodsVat(Byte goodsVat) {
        this.goodsVat = goodsVat;
    }

    public Byte getGoodsCommend() {
        return goodsCommend;
    }

    public void setGoodsCommend(Byte goodsCommend) {
        this.goodsCommend = goodsCommend;
    }

    public String getGoodsStcids() {
        return goodsStcids;
    }

    public void setGoodsStcids(String goodsStcids) {
        this.goodsStcids = goodsStcids == null ? null : goodsStcids.trim();
    }

    public Integer getEvaluationGoodStar() {
        return evaluationGoodStar;
    }

    public void setEvaluationGoodStar(Integer evaluationGoodStar) {
        this.evaluationGoodStar = evaluationGoodStar;
    }

    public Integer getEvaluationCount() {
        return evaluationCount;
    }

    public void setEvaluationCount(Integer evaluationCount) {
        this.evaluationCount = evaluationCount;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec == null ? null : goodsSpec.trim();
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getRecommondType() {
        return recommondType;
    }

    public void setRecommondType(Integer recommondType) {
        this.recommondType = recommondType;
    }
}